import sympy

n=sympy.Symbol('n')
f=((n+2)/(n+3))**n
res=sympy.limit(f,n,sympy.oo)
sympy.pprint(res)
# e**-1